#!/usr/bin/bash

echo "CC                $1"

# well, that's very, very, very ugly, but at least it works :-(
# $2: CC, $3: directory to enter, and $4 is the CC flags, $5 is the 
# extended CC flags by arch. 

cd $3

$2 $4 $5 -c $1 -o $1.o

